﻿using FreeSql.DataAnnotations;

namespace chatGUI.DataBase.Entity;

[Table(Name = "group_member")]
public class GroupMember{
    [Column(Name = "uid",IsPrimary = true)]
    public string Uid{ get; set; }
    [Column(Name = "gid",IsPrimary = true)]
    public string Gid{ get; set; }
    [Column(Name = "gdate")]
    public string Gdate{ get; set; }

    public override string ToString(){
        return $"{nameof(Uid)}: {Uid}, {nameof(Gid)}: {Gid}, {nameof(Gdate)}: {Gdate}";
    }
}